package com.hgw.Demo03_DecoratorPattern.Exercises12_7_4;

/**
 * Data time:2021/12/14 19:23
 * StudentID:2019112118
 * Author:hgw
 * Description:
 */
public class clink {

    public static void main(String[] args) {
        Phone simplePhone,jarPhone,complexPhone;

        simplePhone = new SimplePhone();
        simplePhone.remind();

        System.out.println("============");
        jarPhone = new JarPhone(simplePhone);
        jarPhone.remind();

        System.out.println("============");
        complexPhone = new ComplexPhone(jarPhone);
        complexPhone.remind();

    }
}
